Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

214
Vistas
Webdriver io - Drag and Drop | Not able to see it happening but code passes

I am trying to implement the Drag and drop feature using webdriver io and the issue i am facing is that the code passes but i dont see dragging and dropping the file ..

X-paths are proper as it runs properly in selenium webdriver

npm -v
6.14.14

node -v
v14.17.4

Below is the code

get imageSource(){return $(`#source`)}
get imageDestination(){return $(`#destination`)}

async dragAndDropImage() {
        try {   
            
            await (await this.imageSource).waitForDisplayed()
            await (await this.imageDestination).waitForDisplayed()

            await this.imageSource.dragAndDrop(await this.imageDestination,{duration:6000})
            
            await browser.pause(10000)

        } catch (err) {
            err.message=`Error when dragging image file`
            throw err
        }
    }

enter image description here

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda